/* 搜索和筛选 */
.search-filter {
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  :deep(.el-button) {
    height: 34px !important;
    font-size: 14px !important;
  }
  .search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: rgba(15, 23, 42, 0.6);
    color: #e0e0e0;
    &::placeholder {
      color: #94a3b8;
    }
    &:focus {
      outline: none;
      border-color: #42b883;
      box-shadow: 0 0 0 2px rgba(66, 184, 131, 0.2);
    }
  }
  .categories {
    overflow-x: auto;
    &::-webkit-scrollbar {
      display: none;
    }
    .category-btn {
      padding: 6px 14px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background-color: rgba(15, 23, 42, 0.6);
      font-size: 13px;
      transition: all 0.3s ease;
      color: #cbd5e1;
      white-space: nowrap;
      &:hover {
        background-color: rgba(15, 23, 42, 0.8);
        border-color: rgba(255, 255, 255, 0.3);
      }
    }

    .category-btn.active {
      background-color: #42b883;
      color: white;
      border-color: #42b883;
    }
  }
}
